function ceberSubmit(e, callback) {
    var a = e;
    var parent = a.parentNode;
    while (parent.tagName == "form") {
        parent = parent.parentNode;
    }
    curForm = parent;
    var formUrl = $(curForm).attr('action');
    var formMethod = $(curForm).attr('method');
    var contentType = ($(curForm).attr('contentType')) ? $(curForm).attr('contentType') : 'application/x-www-form-urlencoded; charset=UTF-8';
    var submitData = $(curForm).serialize();
    // console.log(formUrl);
    // console.log(formMethod);
    // console.log(contentType);
    // console.log(submitData);
    $.ajax({
        //data:submitData,
        url: formUrl,
        method: formMethod,
        contentType: contentType,
        data: submitData,
        success: function (data) {
            console.log(data);
            //var rs = JSON.parse(data);
            rs = data;
            $("#rs-message").html(rs.code + " " + rs.message);
            $("#rs-body").html(rs.body);
            $("#rs-hit").html(rs.hit);
            $("#rs-bak").html(rs.bak);
            if (callback != undefined) {
                eval(callback + "(data)");
            }
        },
        error: function (jqXHR, textStatus, errorThrown) {
            /*错误信息处理*/
            console.error(jqXHR);
            console.error(textStatus);
            console.error(errorThrown);
        }
    });
    return false;
}
